const API_URL = '<http://localhost:8000>';
// 加载⾏星数据并返回 JSON 格式
async function httpGetPlanets() {
const response = await fetch(`${API_URL}/planets`);
return await response.json();
}